package com.woniu.bank.mapper;

import com.woniu.bank.dto.UserDTO;
import com.woniu.bank.entity.SysUser;
import com.woniu.bank.vo.UserVO;

import java.util.List;

/**
* @author wangheng
* @description 针对表【sys_user(用户表)】的数据库操作Mapper
* @createDate 2023-01-02 19:19:42
* @Entity com.woniu.bank.entity.SysUser
*/
public interface SysUserMapper {

    int deleteByPrimaryKey(Long id);

    int insert(SysUser record);

    int insertSelective(SysUser record);

    SysUser selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SysUser record);

    int updateByPrimaryKey(SysUser record);

    SysUser selectByTelAndPwd(String tel, String password);

    List<UserVO> selectAllUser(UserDTO userDTO);

    SysUser selectByTel(SysUser sysUser);
}
